import React from 'react'
import style from './style.module.scss'
import { Link } from 'react-router-dom'

interface ITagCardProps {
    data: any
}

export default function TagCard(props: ITagCardProps) {
    return (
        <Link to={'/search/photos/' + props.data.id} className={style.container}>
            <span>{props.data.title}</span>
        </Link>
    )
}
